home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / interface / SpeedLimitRuleDlg.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  3KB  |  81 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #if !defined(AFX_SPEEDLIMITRULEDLG_H__8C304309_0F82_42CC_9833_2FAF0A6A83C9__INCLUDED_)
  20. #define AFX_SPEEDLIMITRULEDLG_H__8C304309_0F82_42CC_9833_2FAF0A6A83C9__INCLUDED_
  21.  
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. // SpeedLimitRuleDlg.h : header file
  26. //
  27. #include "..\SpeedLimit.h"
  28.  
  29. /////////////////////////////////////////////////////////////////////////////
  30. // CSpeedLimitRuleDlg dialog
  31.  
  32. class CSpeedLimitRuleDlg : public CDialog
  33. {
  34. // Construction
  35. public:
  36.     void FillFromSpeedLimit(const CSpeedLimit &sl);
  37.     CSpeedLimit GetSpeedLimit();
  38.     CSpeedLimitRuleDlg(CWnd* pParent = NULL);   // standard constructor
  39.  
  40.     BOOL    m_Day[ 7];
  41. // Dialog Data
  42.     //{{AFX_DATA(CSpeedLimitRuleDlg)
  43.     enum { IDD = IDD_SPEEDLIMIT_RULE_DIALOG };
  44.     CDateTimeCtrl    m_ToCtrl;
  45.     CDateTimeCtrl    m_FromCtrl;
  46.     CDateTimeCtrl    m_DateCtrl;
  47.     BOOL    m_DateCheck;
  48.     CTime    m_Date;
  49.     BOOL    m_FromCheck;
  50.     CTime    m_FromTime;
  51.     BOOL    m_ToCheck;
  52.     CTime    m_ToTime;
  53.     int        m_Speed;
  54.     //}}AFX_DATA
  55.  
  56.  
  57. // Overrides
  58.     // ClassWizard generated virtual function overrides
  59.     //{{AFX_VIRTUAL(CSpeedLimitRuleDlg)
  60.     protected:
  61.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  62.     //}}AFX_VIRTUAL
  63.  
  64. // Implementation
  65. protected:
  66.  
  67.     // Generated message map functions
  68.     //{{AFX_MSG(CSpeedLimitRuleDlg)
  69.     afx_msg void OnDateCheck();
  70.     afx_msg void OnToCheck();
  71.     afx_msg void OnFromCheck();
  72.     virtual BOOL OnInitDialog();
  73.     //}}AFX_MSG
  74.     DECLARE_MESSAGE_MAP()
  75. };
  76.  
  77. //{{AFX_INSERT_LOCATION}}
  78. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  79.  
  80. #endif // !defined(AFX_SPEEDLIMITRULEDLG_H__8C304309_0F82_42CC_9833_2FAF0A6A83C9__INCLUDED_)
  81.